package cn.wwxula.common.properties.ali;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liyang23
 * @date 2024/12/10 09:50
 **/
@Data
@Component
@ConfigurationProperties(prefix = "u-service.ali.oss")
public class AliOssProperties {
    /**
     * 阿里云OSS的域名
     */
    private String endpoint;
    /**
     * OSS中存储数据的bucketName
     */
    private String bucketName;
    /**
     * OSS的Bucket区域
     */
    private String region;
}
